package cn.bdqn.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import cn.bdqn.mapper.CustomerFormMapper;
import cn.bdqn.pojo.CustomerForm;
import cn.bdqn.service.CustomerFormService;
@Service("CustomerFormService")
public class CustomerFormServiceImpl implements CustomerFormService {

	@Resource
	private CustomerFormMapper usermapper;
	
	@Override
	public CustomerForm getLogin(String name) {
		CustomerForm user = usermapper.getLogin(name);
		return user;
	}

	@Override
	public int password(String name, String password) {
		int i=usermapper.password(name, password);
		return i;
	}

	
}
